<?php /* Smarty version Smarty-3.1.6, created on 2017-05-15 14:58:54
         compiled from "D:/test.cn/Test/Admin/View\Test\index.html" */ ?>
<?php /*%%SmartyHeaderCode:16336591950376ad172-66759191%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1134e02742d7c32e8b1370c0318b62d1993c7013' => 
    array (
      0 => 'D:/test.cn/Test/Admin/View\\Test\\index.html',
      1 => 1494831526,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16336591950376ad172-66759191',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_591950376ff4b',
  'variables' => 
  array (
    'en_name' => 0,
    'en' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_591950376ff4b')) {function content_591950376ff4b($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>《C语言程序设计》在线考试系统 - 系统设置</title>
<meta name="Copyright" content="Douco Design." />
<link href="<?php echo @Admin_URL;?>
css/public.css" rel="stylesheet"
	type="text/css">
<script type="text/javascript"
	src="<?php echo @Admin_URL;?>
js/jquery.min.js"></script>
<script type="text/javascript"
	src="<?php echo @Admin_URL;?>
js/global.js"></script>
<script type="text/javascript"
	src="<?php echo @Admin_URL;?>
js/jquery.tab.js"></script>
	<script charset="utf-8" src="/Test/Tool/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="/Test/Tool/kindeditor/lang/zh-CN.js"></script>
<link rel="stylesheet" href="<?php echo @Admin_URL;?>
css/index.css" type="text/css"/>
<script>
	 $(function(){ $(".idTabs").idTabs(); });
</script>
</head>
    <body>
    	<div id="container">
    		<div class="left">
    			<p>　</p>
    			<div class="name">
    				<span>姓名：</span> <br/>
    				<span>性别：</span><br/>
    				<span>准考证号：</span><br/>
    				<span>身份证号：622223199408115113</span><br/>
    			</div>
    			<p>　</p>
    			<div id="clock">
    				<p>　</p>
    				<div id="timer">倒计时开始</div>
    			</div>
    		</div>
    		<div class="right">
    			<h1>《C语言程序设计》在线考试</h1>
                <p>　</p>
    			<span class="text-center" style="color:red;margin-left:16%;">
						为保证考试的公平公正性，在考试期间请勿人为刷新或关闭浏览器，否则该考生成绩直接记为0分。</span>
				<div class="idTabs">
					<ul class="tab">
					<?php  $_smarty_tpl->tpl_vars['en'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['en']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['en_name']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['en']->key => $_smarty_tpl->tpl_vars['en']->value){
$_smarty_tpl->tpl_vars['en']->_loop = true;
?>
						<li><a href="#<?php echo $_smarty_tpl->tpl_vars['en']->value['en_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['en']->value['type_name'];?>
</a></li>
					<?php } ?>
					</ul>
					<div class="items">
						<form action="<?php echo @__SELF__;?>
" method="post"
							enctype="multipart/form-data">
							<div id="main">
								<table width="100%" border="0" cellpadding="8" cellspacing="0"
									class="tableBasic">
									<tr>
										<th width="131">名称</th>
										<th>内容</th>
									</tr>
									<tr>
										<td align="right">试题名称</td>
										<td><textarea id="editor_id" name="content" style="width:700px;height:300px;">
										&lt;strong&gt;请输入试题内容&lt;/strong&gt;
										</textarea>
									</tr>
									<tr>
										<td align="right">A：</td>
										<td><input type="text" name="select_a"
											value="" size="80" placeholder="请输入A选项内容" class="inpMain" /></td>
									</tr>
									<tr>
										<td align="right">B：</td>
										<td><input type="text" name="select_b"
											value="" size="80" placeholder="请输入B选项内容" class="inpMain" /></td>
									</tr>
									<tr>
										<td align="right">C：</td>
										<td><input type="text" name="select_c"
											value="" size="80" placeholder="请输入C选项内容" class="inpMain" /></td>
									</tr>
									<tr>
										<td align="right">D：</td>
										<td><input type="text" name="select_d"
											value="" size="80" placeholder="请输入D选项内容" class="inpMain" /></td>
									</tr>
									<tr>
										<td align="right">是否单选</td>
										<td><label for="site_closed_1"> <input type="radio"
												name="type" id="site_closed_1" value="1"> 是
										</label>
										<label for="site_closed_2"> <input
												type="radio" name="type" id="site_closed_2" value="2"> 否
										</label></td>
									</tr>
									<tr>
										<td align="right">答案：</td>
										<td><input type="text" name="answer"
											value="" size="80" placeholder="请输入答案，多选答案请用逗号隔开，比如：A,B,C,D" class="inpMain" /></td>
									</tr>
									<tr>
									<td width="131"></td>
									<td>
										<input class="btn" type="submit" value="提交" />
									</td>
									</tr>
								</table>
							</div>
							<div id="display">
								<table width="100%" border="0" cellpadding="8" cellspacing="0"
									class="tableBasic">
									<tr>
										<th width="131">名称</th>
										<th>内容</th>
									</tr>
									<tr>
										<td align="right">试题名称</td>
										<td><textarea id="editor_ids" name="content1" style="width:700px;height:300px;">
										&lt;strong&gt;请输入试题内容&lt;/strong&gt;
										</textarea>
									</tr>
									<tr>
										<td align="right">类型</td>
										<td><label for="site_closed_3">概念填空题： <input type="radio"
												name="type" id="site_closed_3" value="3">
										</label>
										<label for="site_closed_4"> 程序填空题：<input
												type="radio" name="type" id="site_closed_4" value="4">
										</label></td>
									</tr>
									<tr>
										<td align="right">答案：</td>
										<td><input type="text" name="answer1"
											value="" size="80" placeholder="请输入要填写内容，如有多个答案，请用逗号隔开" class="inpMain" /></td>
									</tr>
									<tr>
									<td width="131"></td>
									<td>
										<input class="btn" type="submit" value="提交" />
									</td>
									</tr>
								</table>
							</div>
							<div id="defined">
								<table width="100%" border="0" cellpadding="8" cellspacing="0"
									class="tableBasic">
									<tr>
										<th width="131">名称</th>
										<th>内容</th>
									</tr>
									<tr>
										<td align="right">试题名称</td>
										<td><textarea id="editor_id1" name="content2" style="width:700px;height:300px;">
										&lt;strong&gt;请输入试题内容&lt;/strong&gt;
										</textarea>
									</tr>
									<tr>
										<td align="right">类型</td>
										<td><label for="site_closed_5">程序修改题： <input type="radio"
												name="type" id="site_closed_5" value="5">
										</label>
										<label for="site_closed_6"> 程序编写题：<input
												type="radio" name="type" id="site_closed_6" value="6">
										</label></td>
									</tr>
									 <tr>
							          <td align="right">答案</td>
							          <td>
							                      <textarea name="answer2" cols="83" rows="8" class="textArea" /></textarea>
							                                </td>
							         </tr>
									<tr>
									<td width="131"></td>
									<td>
										<input class="btn" type="submit" value="提交" />
									</td>
									</tr>
								</table>
							</div>
						</form>
					</div>
				</div>
			</div>
    		</div>
    	</div>
<SCRIPT LANGUAGE="JavaScript">   
<!--   
	var maxtime = 120*60 //1小时，按秒计算   
	function CountDown(){   
		if(maxtime>=0){   
			minutes = Math.floor(maxtime/60);   
			seconds = Math.floor(maxtime%60);   
			msg = "距考试结束还有："+minutes+"分"+seconds+"秒";   
			document.all["timer"].innerHTML=msg;   
			if(maxtime == 5*60) alert('注意，还有5分钟!');   
			--maxtime;   
			}   
	else{   
		clearInterval(timer);   
		alert("时间到，考试已结束!");   
	}   
}   
timer = setInterval("CountDown()",1000);   
//-->   

    </body>
</html><?php }} ?>